<T:ViewBase x:Class="WPFExcelReport.TKALENDER02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="White"  
                    Loaded="Window_Loaded"
     >
    <T:ViewBase.Resources>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:TIMES100  x:Key="X100"/>
        <ucd:TIMES10  x:Key="X10"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>  
    </T:ViewBase.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0">
        <WrapPanel>
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=AKKMANDANT:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwKALENDER.AKKMANDANT}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=AKKWERK:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwKALENDER.AKKWERK}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=AKKJJJJ:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwKALENDER.AKKJJJJ}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=AKKMM:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwKALENDER.AKKMM}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=AKKANZTAG:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwKALENDER.AKKANZTAG}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=AKKTAGFREI01:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwKALENDER.AKKTAGFREI01}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=AKKTAGFREI02:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwKALENDER.AKKTAGFREI02}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=AKKTAGFREI03:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwKALENDER.AKKTAGFREI03}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=AKKTAGFREI04:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwKALENDER.AKKTAGFREI04}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=AKKTAGFREI05:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwKALENDER.AKKTAGFREI05}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=AKKTAGFREI06:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwKALENDER.AKKTAGFREI06}" Width="Auto" />
            </Grid> 
        </WrapPanel>
        <WrapPanel Visibility="{Binding IsKALENDER,Converter={StaticResource ResourceKey=bv}}">
                <ex:TBASE1></ex:TBASE1>
            </WrapPanel>
        </StackPanel>
        <DataGrid  Grid.Row="1"  VerticalAlignment="Top"  
                                   AutoGenerateColumns="False"
                                   EnableRowVirtualization="False"
                                   VerticalScrollBarVisibility="Auto"
                                   HorizontalScrollBarVisibility="Auto"
                                   HeadersVisibility="Column"     
                                   ItemsSource="{Binding vwKALENDER}"  
                                    IsSynchronizedWithCurrentItem="True"
                                   SelectedItem="{Binding Path=dwKALENDER, Mode=TwoWay}"
                                   x:Name="dlgVKP"  
                                   RowDetailsVisibilityMode="Visible" Grid.ColumnSpan="2" Margin="0,0.2,0.2,0"
                    >
            <DataGrid.Columns> 
                <DataGridTextColumn x:Name="AKKMANDANT"
                                    Binding="{Binding Path=AKKMANDANT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKMANDANT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKWERK"
                                    Binding="{Binding Path=AKKWERK, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKWERK}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKJJJJ"
                                    Binding="{Binding Path=AKKJJJJ, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKJJJJ}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKMM"
                                    Binding="{Binding Path=AKKMM, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKMM}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKANZTAG"
                                    Binding="{Binding Path=AKKANZTAG, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKANZTAG}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI01"
                                    Binding="{Binding Path=AKKTAGFREI01, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI01}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI02"
                                    Binding="{Binding Path=AKKTAGFREI02, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI02}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI03"
                                    Binding="{Binding Path=AKKTAGFREI03, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI03}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI04"
                                    Binding="{Binding Path=AKKTAGFREI04, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI04}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI05"
                                    Binding="{Binding Path=AKKTAGFREI05, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI05}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI06"
                                    Binding="{Binding Path=AKKTAGFREI06, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI06}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI07"
                                    Binding="{Binding Path=AKKTAGFREI07, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI07}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI08"
                                    Binding="{Binding Path=AKKTAGFREI08, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI08}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI09"
                                    Binding="{Binding Path=AKKTAGFREI09, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI09}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI10"
                                    Binding="{Binding Path=AKKTAGFREI10, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI10}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI11"
                                    Binding="{Binding Path=AKKTAGFREI11, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI11}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI12"
                                    Binding="{Binding Path=AKKTAGFREI12, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI12}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI13"
                                    Binding="{Binding Path=AKKTAGFREI13, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI13}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI14"
                                    Binding="{Binding Path=AKKTAGFREI14, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI14}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI15"
                                    Binding="{Binding Path=AKKTAGFREI15, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI15}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI16"
                                    Binding="{Binding Path=AKKTAGFREI16, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI16}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI17"
                                    Binding="{Binding Path=AKKTAGFREI17, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI17}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI18"
                                    Binding="{Binding Path=AKKTAGFREI18, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI18}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI19"
                                    Binding="{Binding Path=AKKTAGFREI19, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI19}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI20"
                                    Binding="{Binding Path=AKKTAGFREI20, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI20}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI21"
                                    Binding="{Binding Path=AKKTAGFREI21, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI21}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI22"
                                    Binding="{Binding Path=AKKTAGFREI22, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI22}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI23"
                                    Binding="{Binding Path=AKKTAGFREI23, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI23}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI24"
                                    Binding="{Binding Path=AKKTAGFREI24, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI24}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI25"
                                    Binding="{Binding Path=AKKTAGFREI25, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI25}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI26"
                                    Binding="{Binding Path=AKKTAGFREI26, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI26}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI27"
                                    Binding="{Binding Path=AKKTAGFREI27, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI27}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI28"
                                    Binding="{Binding Path=AKKTAGFREI28, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI28}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI29"
                                    Binding="{Binding Path=AKKTAGFREI29, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI29}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI30"
                                    Binding="{Binding Path=AKKTAGFREI30, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI30}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKTAGFREI31"
                                    Binding="{Binding Path=AKKTAGFREI31, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKTAGFREI31}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKAENDZL"
                                    Binding="{Binding Path=AKKAENDZL, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKAENDZL}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKAENDBEN"
                                    Binding="{Binding Path=AKKAENDBEN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKAENDBEN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKAENDDAT"
                                    Binding="{Binding Path=AKKAENDDAT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKAENDDAT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKNEUBEN"
                                    Binding="{Binding Path=AKKNEUBEN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKNEUBEN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKNEUDAT"
                                    Binding="{Binding Path=AKKNEUDAT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKNEUDAT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="AKKFILLER"
                                    Binding="{Binding Path=AKKFILLER, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=AKKFILLER}}"
                                    Width="Auto" />
            </DataGrid.Columns>
        </DataGrid  >
    </Grid>
</T:ViewBase> 
 
